package com.kgis.fm.flex.model.metadata
{
	import com.kgis.fm.flex.model.LifecycleModel;

	/**
	 * 
	 * @author Simon He
	 * @modify date 2012-10-09
	 * 
	 */
	[Bindable]
	[RemoteClass(alias="com.kgis.fm.platform.model.metadata.FeatureComponent")]
	public class FeatureComponent extends LifecycleModel
	{
		public function FeatureComponent()
		{
		}
		
		private var _id:int;
		private var _fno:int;
		private var _cno:int;
		/**
		 * 是否必须组件
		 */
		private var _isRequired:Boolean;
		/**
		 * 是否可重复
		 */
		private var _isRepeating:Boolean;
		/**
		 * 是否自动重复
		 */
		private var _isAutorepeat:Boolean;
		private var _ordinal:int;
		
		public function get fno():int {
			return _fno;
		}
		
		public function set fno(value:int):void {
			this._fno = value;
		}
		
		public function get cno():int {
			return _cno;
		}
		
		public function set cno(value:int):void {
			this._cno = value;
		}
		
		public function get id():int {
			return _id;
		}
		
		public function set id(value:int ):void {
			this._id = value;
		}
		
		public function get isRequired():Boolean {
			return _isRequired;
		}
		
		public function set isRequired(value:Boolean ):void {
			this._isRequired = value;
		}
		
		public function get isRepeating():Boolean {
			return _isRepeating;
		}
		
		public function set isRepeating(value:Boolean ):void {
			this._isRepeating = value;
		}
		
		public function get isAutoRepeat():Boolean {
			return _isAutorepeat;
		}
		
		public function set isAutorepeat(value:Boolean ):void {
			this._isAutorepeat = value;
		}
		
		public function get ordinal():int {
			return _ordinal;
		}
		
		public function set ordinal(value:int ):void {
			this._ordinal = value;
		}

	}
}